package fanse;

import lombok.Data;

@Data
public class Student {
    private String name;
    public int age;

    public Student() {
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void show(){
        System.out.println("调用show方法");
    }

    public void show(int age,int age1) throws Exception{
        System.out.println("show方法重载，我的年纪是："+age+age1);
    }

}
